.ns-adv {
	padding: $margin-updown $margin-both;
	overflow: hidden;
	line-height: 1;
	background: #fff;
	
	image {
		width: 100%;
	}
}

.time-wrap {
	display: flex;
	padding: $margin-updown $margin-both;
	background: #fff;
	line-height: 1;
	
	&.fixed {
		position: fixed;
		z-index: 10;
		top: 0;
		width: 100vw;
		box-sizing: border-box;
	}
	
	& > image {
		width: 66rpx;
		margin-right: 20rpx;
	}
	
	.scroll-wrap {
		flex: 1;
		max-width: calc(100% - 86rpx);
		white-space: nowrap;
		
		.time-item {
			padding: 0 10rpx;
			text-align: center;
			display: inline-block;
			
			.span {
				font-weight: bold;
				line-height: 1;
			}
			
			.em {
				line-height: 1;
				padding: 6rpx 30rpx;
				border-radius: 24rpx;
				margin-top: 6rpx;
			}
			
			.em.active {
				color: #fff!important;
			}
		}
	}
}

.lineheight-clear {
	line-height: 1!important;
}
// 商品列表单列样式
.goods-list.single-column {
	
	.goods-item {
		padding: 26rpx;
		background: #fff;
		margin: $margin-updown $margin-both;
		border-radius: $border-radius;
		display: flex;
		position: relative;
		
		.goods-img {
			width: 200rpx;
			height: 200rpx;
			overflow: hidden;
			border-radius: $border-radius;
			margin-right: 20rpx;
			
			image {
				width: 100%;
				height: 100%;
			}
		}
		
		.goods-tag{
			color: #fff;
			line-height: 1;
			padding: 8rpx 12rpx;
			position: absolute;
			border-top-left-radius: $border-radius;
			border-bottom-right-radius: $border-radius;
			top: 26rpx;
			left: 26rpx;
			font-size: $font-size-goods-tag;
		}
		
		.info-wrap {
			flex: 1;
			display: flex;
			flex-direction: column;
			position: relative;
		}
		
		.name-wrap {
			flex: 1;
		}
		
		.goods-name {
			font-size: $margin-both;
			line-height: 1.4;
			overflow: hidden;
			text-overflow: ellipsis;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			height: 80rpx;
			font-weight: bold;
		}
		
		.progress-wrap {
			display: flex;
			margin-top: 10rpx;
			
			progress {
				flex: 1;
			}
			
			.txt {
				margin: 0 100rpx 0 20rpx;
			}
		}
		
		.discount-price {
			display: inline-block;
			font-weight: bold;
			line-height: 1;
			margin-top: 16rpx;
			color: #FF4544;
			
			.unit {
				margin-right: 6rpx;
			}
			
			.price {
				font-size: 38rpx;
			}
			
			.txt {
				font-weight: normal;
			}
		}
		
		.pro-info {
			position: relative;
			margin-top: 16rpx;
			
			.delete-price {
				text-decoration:line-through;
				flex: 1;
				display: flex;
				align-items: flex-end;
				font-size: 26rpx;
				
				.unit {
					margin-right: 6rpx;
				}
				
				.txt {
					text-decoration:none;
				}
			}
			
			& > view {
				line-height: 1;
				
				&:nth-child(2) {
					position: absolute;
					right: 0;
					bottom: 0;
				}
			}
			
			.buy-btn {
				width: 160rpx;
				height: 90rpx;
				border-radius: 10rpx;
				
				.text {
					color: #fff;
					text-align: center;
					line-height: 1;
					padding-top: 20rpx;
				}
				
				.progress {
					margin-top: 6rpx;
					padding: 0 20rpx;
					display: flex;
					
					progress {
						flex: 1;
					}
					
					.num {
						margin-left: 10rpx;
						color: #fff;
						line-height: 1;
					}
				}
			}
		}
		
		.careBox {
			height: 70rpx;
			margin-top: 40rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			position: absolute;
			right: 0;
			bottom: 0;
			
			.info-btn {
				width: 182rpx;
				height: 70rpx;
				margin: 0;
				color: #FFFFFF;
				line-height: 70rpx;
				padding: 0;
				font-size: 26rpx;
			}
		}
		
		.careBox input {
			font-size: 36rpx;
			font-weight: bold;
			width: 60rpx;
			padding: 0 8rpx 4rpx 4rpx;
			box-sizing: border-box;
			text-align: center;
		}
		
		.careBox .iconfont {
			font-size: 60rpx;
		}
		
		
		.member-price-tag {
			display: inline-block;
			width: 60rpx;
			line-height: 1;
			margin-left: 6rpx;
			
			image {
				width: 100%;
			}
		}
	}
	
}


.pick-up-point {
	z-index: 998;
	background-color: rgba(0, 0, 0, .7);
	height: 100rpx;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: $padding $margin-both;
	box-sizing: border-box;
	position: fixed;
	bottom: 210rpx;
	left: 0;
	width: 100%;
	border-bottom: 2rpx solid $color-line;

	.pick-up-point-desc {
		color: #FFFFFF;
	}

	.pick-up-point-box {
		display: flex;
		justify-content: flex-end;
		align-items: center;

		button {
			width: 180rpx;
			height: 60rpx;
			padding: 0;
			line-height: 60rpx;
			text-align: center;
			color: #FFFFFF;
			font-size: 30rpx;
		}

		text.iconfont {
			font-size: 40rpx;
			color: #FFFFFF;
		}
	}

	&.pick-up-point-bottom {
		bottom: 110rpx;
	}
}

.cart-box {
	position: fixed;
	bottom: 0;
	z-index: 5;
	width: 100vw;
	height: 110rpx;
	height: calc(110rpx + constant(safe-area-inset-bottom));
	height: calc(110rpx + env(safe-area-inset-bottom));
	background: #fff;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 9;
	padding: 20rpx;
	box-sizing: border-box;
	padding-bottom: 20rpx;
	padding-bottom: calc(20rpx + constant(safe-area-inset-bottom));
	padding-bottom: calc(20rpx + env(safe-area-inset-bottom));

	.cart-item {
		font-size: $font-size-tag;

		text {
			margin: 0 4rpx;
		}
	}

	.pay-box {
		display: flex;
		align-items: center;

		text {
			font-size: $font-size-base;
			margin-right: 10rpx;
		}

		.color-base-text {
			text {
				font-size: 32rpx;
				font-weight: bold;
			}
		}

		button {
			text-align: center;
			padding: 0;
			margin: 0;
			color: white;
			height: 74rpx;
			width: 176rpx;
			line-height: 70rpx;
		}
	}
}

.tag-num {
		display: block;
		width: 40rpx;
		height: 40rpx;
		line-height: 40rpx;
		background: #FF1919;
		text-align: center;
		color: #fff;
		border-radius: 50%;
		position: absolute;
		top: -20rpx;
		right: 20rpx;
		font-size: 24rpx;
	}